package com.kt.common.clazz.enum1

fun main() {
    /*println(Color1.WITHE.colorRes)
    println(Color1.WITHE.rgb)
    println(Direction.SOUTH)

    get(Direction.SOUTH)*/
    println(ProtocolState.TALKING)
}


fun get(direction: Direction) {
    when(direction){
        Direction.SOUTH ->{
            println("south")}
        Direction.EAST ->{
            println("east")}
        Direction.NORTH ->{
            println("north")}
        Direction.WEST ->{
            println("west")}
    }
}

